﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Com.CMS263.PO;

namespace Com.CMS263.DAO
{
    public class ResetGetPassDAO:BaseService
    {
        public ResetGetPass FindModelByGuid(string guid)
        {
            String hql = "from ResetGetPass Where IsValid=1 and PassGuID='" + guid + "'";
            try
            {
                return FindList<ResetGetPass>(hql, null, null, null)[0];
            }
            catch 
            {
                
                return null;
            }
        }
       
    }
}
